from redis import StrictRedis, ConnectionPool

pool = ConnectionPool(host='127.0.0.1', port=6379, db=0, password='123456')
redis = StrictRedis(connection_pool=pool)
redis.set('name', '1231313')
print(redis.get('name'))
